package net.dgg.dggcloud.service.jrcrm.dao.orf;

import net.dgg.dggcloud.core.minidao.annotation.MiniDao;
import net.dgg.dggcloud.core.minidao.hibernate.MiniDaoSupportHiber;
import net.dgg.dggcloud.service.jrcrm.entity.orf.OrderContact;

import java.util.List;
import java.util.Map;

/**
 * @author 鲜林材
 * $订单联系
 * @create 2017-11-06 15:02
 **/
@MiniDao
@SuppressWarnings({"rawtypes"})
public interface OrderContactDao extends MiniDaoSupportHiber<OrderContact> {

    /**
     * 查询订单联系信息通过Map
     * @param map
     * @return
     */
    List<Map> queryOrderContactListByMap(Map map);

    /**
     * 通过订单id删除订单业务信息
     * @param parameterMap
     * 传入orderId
     */
    void deleteOrderContactByMap(Map parameterMap);
}
